package com.literaryfamily.literaryfamily.dao;

import com.literaryfamily.literaryfamily.entity.BookTradeStates;
import com.literaryfamily.literaryfamily.entity.BookTradeStatesExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface BookTradeStatesMapper {
    long countByExample(BookTradeStatesExample example);

    int deleteByExample(BookTradeStatesExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BookTradeStates row);

    int insertSelective(BookTradeStates row);

    List<BookTradeStates> selectByExample(BookTradeStatesExample example);

    BookTradeStates selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") BookTradeStates row, @Param("example") BookTradeStatesExample example);

    int updateByExample(@Param("row") BookTradeStates row, @Param("example") BookTradeStatesExample example);

    int updateByPrimaryKeySelective(BookTradeStates row);

    int updateByPrimaryKey(BookTradeStates row);
}